#!/usr/bin/env python
#import itertools
#import cherrypy
#import os
#import threading
#import random
#import time
#
#class HelloWorld(object):
#    def __init__(self):
#        self.thread1 = myThread()
#        self.thread1.start()
#    def myjson(self):
#        return "{\"value\":"+self.thread1.getCounter()+"}"
#                    
#    myjson.exposed = True
#
#class myThread (threading.Thread):
#    def __init__(self):
#        self.counter = 30
#        threading.Thread.__init__(self)
#        
#    def run(self):
#        while self.counter>-1:
#            time.sleep(0.4)
#            self.counter+=random.randint(-5,5)
#            if self.counter > 60 :
#                self.counter = 60
#            if self.counter < 0 :
#                self.counter = 0
#    def getCounter(self):
#        return str(self.counter)
#        
#PATH = os.path.abspath(os.path.dirname("D:\\"))
#class Root(object): pass
#
##thread1 = myThread()
##thread1.start()
#cherrypy.tree.mount(Root(), '/', config={
#        '/': {
#                'tools.staticdir.on': True,
#                'tools.staticdir.dir': PATH,
#                'tools.staticdir.index': 'index.html',
#            },
#    })
#
#cherrypy.tree.mount(HelloWorld(),'/ajax')
#cherrypy.engine.start()
#cherrypy.engine.block()
#
##cherrypy.quickstart(HelloWorld())


from com.irec.algos.fpgrowth import fpgrowth
    
if __name__ == '__main__':
    
    print 'aaa'    
    
    
    
    
    
    
    
    